<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <h1>{{name}}</h1>
    </div>
</body>
</html>
<script src="../node_modules/vue/dist/vue.js"></script>
<script>
    // Vue.component
    let vm = new Vue({
        el:'#app',
        render(h) {
          // h 就是createElement的一个简写  可以传标签 也可以传组件
          return h('h1',{id:'qqq'},"你好")
        },
        data:{
            name:"珠峰"
        }
    });
</script>